<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">

    <title>{{ config('app.name', 'Laravel') }}</title>

    <!-- Scripts -->
    <script src="{{ asset('js/common.js') }}"></script>
    <script src="{{ asset('js/index.js') }}"></script>

    <!-- Fonts -->
    <link rel="dns-prefetch" href="https://fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css?family=Raleway:300,400,600" rel="stylesheet" type="text/css">

    <!-- Styles -->
    <link href="{{ asset('css/app.css') }}" rel="stylesheet">
    <link href="{{ asset('css/app1.css') }}" rel="stylesheet">
</head>
<body style="background: #f6f6f6;height: 92%;">
        <div class="header fixed">
            <div class="weui-navbar__item top-navbar">
                @if (isset($title))
                    @if(!in_array($title,['首页','我的']))
                        <svg class="icon f48 nav-arrow gary3" aria-hidden="true" onclick="history.go(-1)">
                            <use xlink:href="#icon--18"></use>
                        </svg>
                    @endif
                    <span class="gary3">{{$title}}</span>
                @endif
                @if (isset($title))
                    @if ($title === '我的')
                    <a href="/mobile/install" class="pull-right">
                        <svg class="icon f48" aria-hidden="true">
                            <use xlink:href="#icon-tubiao-6"></use>
                        </svg>
                    </a>
                    @endif
                @endif
                @if (isset($title))
                    @if ($title === '员工管理')
                        <a href="javascript:;" class="pull-right" id="addY">
                            <svg class="icon f48" aria-hidden="true">
                                <use xlink:href="#icon-weibiaoti--28"></use>
                            </svg>
                        </a>
                    @endif
                @endif
                    @if (isset($title))
                        @if ($title === '菜品分类')
                            <a href="javascript:;" class="pull-right" id="addF">
                                <svg class="icon f48" aria-hidden="true">
                                    <use xlink:href="#icon-weibiaoti--28"></use>
                                </svg>
                            </a>
                        @endif
                    @endif
                @if (isset($title))
                    @if ($title === '设备管理')
                        <a href="javascript:;" class="pull-right" id="sbgl">
                            <svg class="icon f48" aria-hidden="true">
                                <use xlink:href="#icon-weibiaoti--28"></use>
                            </svg>
                        </a>
                    @endif
                @endif
                @if (isset($title))
                    @if ($title === '房桌管理')
                        <a href="javascript:;" class="pull-right" id="table">
                            <svg class="icon f48" aria-hidden="true">
                                <use xlink:href="#icon-weibiaoti--28"></use>
                            </svg>
                        </a>
                    @endif
                @endif
                @if (isset($title))
                    @if ($title === '菜单管理')
                        <a href="javascript:;" class="pull-right gary3 " id="foodsType">
                            菜品分类
                        </a>
                    @endif
                @endif
                @if (isset($title))
                    @if ($title === '钱包')
                        <a href="javascript:;" class="pull-right gary9 f24" id="remainin">
                            明细
                        </a>
                    @endif
                @endif
                @if (isset($title))
                    @if ($title === '充值卡')
                        <a href="javascript:;" class="pull-right gary9 f24" id="Top_share">
                            <svg class="icon f48" aria-hidden="true">
                                <use xlink:href="#icon-fenxiang"></use>
                            </svg>
                        </a>
                    @endif
                @endif
                @if (isset($title))
                    @if ($title === '邀请函')
                        <a href="javascript:;" class="pull-right gary9 f24" id="Top_share">
                            <svg class="icon f48" aria-hidden="true">
                                <use xlink:href="#icon-fenxiang"></use>
                            </svg>
                        </a>
                    @endif
                @endif
                    @if (isset($title))
                        @if ($title === '订单详情')
                            <a href="/" class="pull-right gary9 f24" id="Top_share">
                                <svg class="icon f48" aria-hidden="true">
                                    <use xlink:href="#icon-home"></use>
                                </svg>
                            </a>
                        @endif
                    @endif
                {{--@if (isset($title))--}}
                    {{--@if ($title === '设备信息')--}}
                        {{--<a href="javascript:;" class="pull-right">--}}
                            {{--<svg class="icon f48" aria-hidden="true">--}}
                                {{--<use xlink:href="#icon-weibiaoti--12"></use>--}}
                            {{--</svg>--}}
                        {{--</a>--}}
                    {{--@endif--}}
                {{--@endif--}}
            </div>
        </div>
        <main class="py-4">
            @yield('content')
        </main>

@extends("layouts/footer")



